package com.sright.bcard.content.dal.dao;

import com.sright.bcard.common.service.share.base.dao.BaseDAO;
import com.sright.bcard.content.dal.entity.UserTagsDO;

import java.util.List;

public interface UserTagsDAO extends BaseDAO<UserTagsDO> {

    int deleteByPrimaryKey(Long id);

    int deleteByTagId(Long tagId);

    int deleteByUserId(Long analysisId);

    List<UserTagsDO> selectByEnterpriseIdAndUserId(Long enterpriseId, Long analysisId);

    List<UserTagsDO> selectByAnalysisId(Long analysisId);
}
